<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EquTemper: LnEditSI Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">EquTemper&#160;<span id="projectnumber">1.01</span></div>
   <div id="projectbrief">An equation editor.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_ln_edit_s_i.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">LnEditSI Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="LnEditSI" -->
<p>line editor for simple text input  
 <a href="class_ln_edit_s_i.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_e_t_vp_cmd___edit_sub_i_8h_source.html">ETVpCmd_EditSubI.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Collaboration diagram for LnEditSI:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_ln_edit_s_i__coll__graph.png" border="0" usemap="#_ln_edit_s_i_coll__map" alt="Collaboration graph"/></div>
<map name="_ln_edit_s_i_coll__map" id="_ln_edit_s_i_coll__map">
<area shape="rect" id="node2" href="class_e_t_vp_cmd___edit_sub_i.html" title="viewport command that edits an sub&#45;item" alt="" coords="128,563,267,592"/><area shape="rect" id="node4" href="class_e_t_vp_command.html" title="abstract class representing prerequisites for a command running in a ETSheetView" alt="" coords="141,371,256,400"/><area shape="rect" id="node36" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content." alt="" coords="233,467,335,496"/><area shape="rect" id="node7" href="class_e_t_s_i___s_text.html" title="simple sub&#45;item capable to display a string" alt="" coords="685,256,779,285"/><area shape="rect" id="node9" href="class_e_t_sub_item.html" title="class representing the common interface exposed by all sub&#45;items of a ETI_CplxTxt" alt="" coords="141,141,229,171"/><area shape="rect" id="node18" href="class_e_t_s_i___root.html" title="sub&#45;item able to host a row of horizontal sub&#45;items" alt="" coords="317,256,403,285"/><area shape="rect" id="node11" href="class_c_c___l2_d.html" title="class representing the list element in a linked list system" alt="" coords="217,25,289,55"/><area shape="rect" id="node22" href="class_c_c___h_d_l2_d.html" title="class representing the list header in a linked list system" alt="" coords="331,141,424,171"/><area shape="rect" id="node14" href="class_e_t_i___cplx_txt.html" title="class representing a complex text; this may or may not represent an equation" alt="" coords="377,371,473,400"/><area shape="rect" id="node16" href="class_d_d_h_c_1_1_ghost.html" title="class to be inherited by the classes that need to be tracked" alt="" coords="476,25,580,55"/><area shape="rect" id="node25" href="class_d_d_h_c_1_1_c_inst.html" title="a container for class instances that inherit from DDHC:Ghost" alt="" coords="587,141,688,171"/><area shape="rect" id="node27" href="class_d_d_h_c_1_1_mdl_item.html" title="the QModelIndex has internalPointer() either NULL or pointing to a class tha inherits this one..." alt="" coords="604,25,721,55"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_ln_edit_s_i-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ln_edit_s_i.html#a686dff5fdaf3144172ce44be0f4fc2a8">LnEditSI</a> (<a class="el" href="class_e_t_vp_cmd___edit_sub_i.html">ETVpCmd_EditSubI</a> *ed_req, QString s_tx, QRect geom, <a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor; prepares and shows the editor  <a href="#a686dff5fdaf3144172ce44be0f4fc2a8"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ln_edit_s_i.html#a145ded952e72a7ba2a85e24a0ba4f5ed">keyPressEvent</a> (QKeyEvent *event)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">filter Return and Escape keys  <a href="#a145ded952e72a7ba2a85e24a0ba4f5ed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ln_edit_s_i.html#a4f1522c8a0dc2054f24d0b6ae3aaa5e4">focusOutEvent</a> (QFocusEvent *e)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">based on options, this may tigger a close  <a href="#a4f1522c8a0dc2054f24d0b6ae3aaa5e4"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_e_t_vp_cmd___edit_sub_i.html">ETVpCmd_EditSubI</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ln_edit_s_i.html#a4ffed900e53daf070764f5a719da265f">requester</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">associated class instance that gets notified about events  <a href="#a4ffed900e53daf070764f5a719da265f"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>line editor for simple text input </p>

<p>Definition at line <a class="el" href="_e_t_vp_cmd___edit_sub_i_8h_source.html#l00066">66</a> of file <a class="el" href="_e_t_vp_cmd___edit_sub_i_8h_source.html">ETVpCmd_EditSubI.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a686dff5fdaf3144172ce44be0f4fc2a8"></a><!-- doxytag: member="LnEditSI::LnEditSI" ref="a686dff5fdaf3144172ce44be0f4fc2a8" args="(ETVpCmd_EditSubI *ed_req, QString s_tx, QRect geom, ETSheetView *parent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LnEditSI::LnEditSI </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_vp_cmd___edit_sub_i.html">ETVpCmd_EditSubI</a> *&#160;</td>
          <td class="paramname"><em>ed_req</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>s_tx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QRect&#160;</td>
          <td class="paramname"><em>geom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_e_t_sheet_view.html">ETSheetView</a> *&#160;</td>
          <td class="paramname"><em>parent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>constructor; prepares and shows the editor </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ed_req</td><td>the instance of this class that created the widget </td></tr>
    <tr><td class="paramname">s_tx</td><td>initial text to show </td></tr>
    <tr><td class="paramname">geom</td><td>where to place inside parent </td></tr>
    <tr><td class="paramname">parent</td><td>the widget that will host this line editor </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_e_t_vp_cmd___edit_sub_i_8cc_source.html#l00303">303</a> of file <a class="el" href="_e_t_vp_cmd___edit_sub_i_8cc_source.html">ETVpCmd_EditSubI.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4f1522c8a0dc2054f24d0b6ae3aaa5e4"></a><!-- doxytag: member="LnEditSI::focusOutEvent" ref="a4f1522c8a0dc2054f24d0b6ae3aaa5e4" args="(QFocusEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LnEditSI::focusOutEvent </td>
          <td>(</td>
          <td class="paramtype">QFocusEvent *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>based on options, this may tigger a close </p>

<p><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000029">Todo:</a></b></dt><dd>implement the options for focus lost </dd></dl>
</p>

<p>Definition at line <a class="el" href="_e_t_vp_cmd___edit_sub_i_8cc_source.html#l00346">346</a> of file <a class="el" href="_e_t_vp_cmd___edit_sub_i_8cc_source.html">ETVpCmd_EditSubI.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a145ded952e72a7ba2a85e24a0ba4f5ed"></a><!-- doxytag: member="LnEditSI::keyPressEvent" ref="a145ded952e72a7ba2a85e24a0ba4f5ed" args="(QKeyEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LnEditSI::keyPressEvent </td>
          <td>(</td>
          <td class="paramtype">QKeyEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>filter Return and Escape keys </p>

<p>Definition at line <a class="el" href="_e_t_vp_cmd___edit_sub_i_8cc_source.html#l00326">326</a> of file <a class="el" href="_e_t_vp_cmd___edit_sub_i_8cc_source.html">ETVpCmd_EditSubI.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a4ffed900e53daf070764f5a719da265f"></a><!-- doxytag: member="LnEditSI::requester" ref="a4ffed900e53daf070764f5a719da265f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_e_t_vp_cmd___edit_sub_i.html">ETVpCmd_EditSubI</a>* <a class="el" href="class_ln_edit_s_i.html#a4ffed900e53daf070764f5a719da265f">LnEditSI::requester</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>associated class instance that gets notified about events </p>

<p>Definition at line <a class="el" href="_e_t_vp_cmd___edit_sub_i_8h_source.html#l00072">72</a> of file <a class="el" href="_e_t_vp_cmd___edit_sub_i_8h_source.html">ETVpCmd_EditSubI.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_e_t_vp_cmd___edit_sub_i_8h_source.html">ETVpCmd_EditSubI.h</a></li>
<li><a class="el" href="_e_t_vp_cmd___edit_sub_i_8cc_source.html">ETVpCmd_EditSubI.cc</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_ln_edit_s_i.html">LnEditSI</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

    <li class="footer">Generated on Sun Oct 23 2011 22:06:50 for EquTemper by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
   </ul>
 </div>
</body>
</html>
